package com.dayouzi.esaydata.pojo.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserInfoVO", description="用户信息返回展示对象")
public class UserInfoVO {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "机构名称")
    private String userName;

    @ApiModelProperty(value = "用户账号")
    private String userAccount;

    @ApiModelProperty(value = "用户密码")
    private String password;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "机器码")
    private String uniqueCode;

    @ApiModelProperty(value = "到期时间")
    private LocalDate expireTime;

    @ApiModelProperty(value = "有效期剩余多少天")
    private Integer validity;

    @ApiModelProperty(value = "到期状态")
    private Integer expireStatus;

    @ApiModelProperty(value = "登录状态")
    private Integer loginStatus;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

}
